package Assignment;


import javax.swing.ImageIcon;
import java.util.Random;

public class Battleship extends SeaObject {
    int life;//命
    Battleship(){
        super(66,26,270,124,20);
        life = 50000000;
    }

    public void move(){
        System.out.println("战舰移动");
    }
    public ImageIcon getImage(){
        return Images.battleship;
    }
    public Bomb shootBomb(){
        return new Bomb(this.x,this.y);
    }

}
